package com.coding365.weba.controller;

import com.coding365.weba.service.DubboTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("dubbo")
public class DubboTestController {

    @Autowired
    private DubboTestService dubboTestService;

    @GetMapping("/test")
    public void test(){
        dubboTestService.call();
    }
}
